package edu.pitt.cs.cs2510.project3.stattools;

public class FindCost {

	public static void main(String[] args) {
		StringBuilder arg = new StringBuilder();
		for(String a : args) {
			arg.append(a).append(" ");
		}
		String astr = arg.toString();
		int ix1 = astr.indexOf("$$$$") + 4;
		int ix2 = astr.indexOf("$$$$", ix1);
		System.out.println(astr.substring(ix1, ix2));
	}
}
